﻿namespace Sidvall.Serialization
{
	public static class BooleanExtension
	{
		#region ToInt32

		public static int ToInt32(this bool value)
		{
			if (value)
				return 1;
			return 0;
		}

		#endregion
	}
}
